<div id="listModal" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog"
     aria-labelledby="myLargeModalLabel"
     style="display: none;">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">×</span></button>
                <h4 class="modal-title" id="myLargeModalLabel">Large modal</h4>
            </div>
            <div class="modal-body">
                <table class="table table-bordered">
                    <thead>
                    <tr>
                        <th>源IP</th>
                        <th>位置</th>
                        <th>攻击总数</th>
                        <th>漏洞攻击次数</th>
                        <th>扫描次数</th>
                        <th>更新时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    {% for row in pager.queryset %}
                        <tr>
                            <td>{{ row.src_ip }}</td>
                            <td>{{ row.location }}</td>
                            <td>{{ row.attack_count }}</td>
                            <td>{{ row.inject_attack_count }}</td>
                            <td>{{ row.scan_count }}</td>
                            <td>{{ row.update_datetime }}</td>
                        </tr>
                    {% endfor %}
                    </tbody>
                </table>

                <ul class="pagination">
                    {{ pager.html }}
                </ul>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" id="btnClose">关 闭</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div>